SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10d384ba725e509c7420710691f1da603234b02fc8e6e53989c3ce83d6c25307' 
  AND token = 'un/vCSWSN5nKPJg6BPqNDZipbt6fA6IS5HSMTtLtw+c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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