SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd97a1f55c1165d67ae2fe3858c41bbb9864c9612eeac87abc535c25cb831833' 
  AND token = '8UopMUheyCoXgt8Q6qNcYwn872RmV1MFVeB0ocXmBYA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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