SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '95238b40f6733a91b6b51e6d234edf971dbb520bf8d43f0566eafb54b844c950' 
  AND token = 'prSzTLMSxCj7pTzr6ZL+ean7oRluR/MH179bqg31m1c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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