SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ff3e37e81e5179cd80a0c1e07e5c8e5d18e2fd560300f4345a690692bb3b2d1' 
  AND token = 'q4atCXqSyYmu4p6CkGeauJ6YnFAxldoDjsQQ5Y90bME=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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