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

Query time 0.00019

JSON explain

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