SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38d7369cac7c50ec3078c7f0df11385e2c0276389e94554890755e4b4b481b61' 
  AND token = 'XhJzEJdhqic+BQaJMNm7ghsZO9bamk28bZL58U+c6og=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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