SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed3a4ce8074bca4b21f1b168436d95b93e2df4ecca81be796584576b22a09d51' 
  AND token = 'BHzj+lGcw5JmRLkD4Dm2Hq27Hup7eiLWd0XQG7s3pHE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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