SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2baf33795fa40348af8d8f25916f0597c6df1f0ed151d5e9bfe4791851a02095' 
  AND token = 'txmqUqEb9A3/iIcXWUWZIddDnmU9x032TPgBK6rO9i4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}