SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '294c506d44fadec050e6c33fbf83829d6721bec7ce8fcefe01192430d56be76a' 
  AND token = 'oYQfJRCID7/XqYqbhe4GnXcSxKE4+zcafXIom47nD2w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00070

JSON explain

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