SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae8772d3452dbed681636327e4776b009a59e124633a714b06ebc67a932c3f1d' 
  AND token = 'RmJZQGM+04EO2xsW9jj/M0VfLNw0/ZOxvM5S5+uSvHA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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