SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf271ae2d06659a97e9639a9b148e40245c2b051b6724ec1b117750d042703bd' 
  AND token = 'mGTk8aPBUQjVn9fmNouVFCD777dSOHA3yVBttZ4afJY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}