SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7be1ce22984dba11699b4b4efb4398253095597b2b0663c22d9ffad1a524dde' 
  AND token = 'yswSQguptBfuC/aSCFxC1aKZzppB8lapefEYAMxAYyw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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