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

Query time 0.00040

JSON explain

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