SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '291dbba1752b05128ef086396e28622111a2a98c2b88bbceca71caa4e9736c39' 
  AND token = 'eGQOnOgm15/Te4g/d/8VRVMXYImPL2F7dvC2ImRVE4Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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