SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '879001a5afdbf3050f63c6c50432fd8e2049e6392ebfd11bdb0b2781d05620fe' 
  AND token = 'T8VCG0RZyFgJv8TZpz/+DaGF2IuD5SvDbcl/pb+kjpI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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