SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ffefd8b2ecb176c83ae1f60e2119d197e286a2670cddce324c5ac17120db69e' 
  AND token = 'oRjZbMB+iqWM274n/CY8621ayQvPznpDrw2B76LVCpI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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