SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a58feb21f0d09bcbce840d8205829390010a894f3150404fcbf2f42517da3840' 
  AND token = 'IiG/MzlKe/VMyX+flVNdvGtLdKxnPPXgFso2ewpB7Io=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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