SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2030f5b914b9a392baa9babfdab038306b6238e88a803920c12a7cecbd91f3f0' 
  AND token = 'S2MgkJS7bg4fTZ2TGDe/5nA7RHwv35cyOncYh4bbEKA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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