SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e1883ff7ac7728d268a798eaeb9d3ec6ffe7a15b8b565f12fbeb61e9cd90e37' 
  AND token = 'rKyuoP3gEWYJKSiLueg9o5Nf++eEEswqIK2QWitmKxY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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