SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24f1166406efb091be9cd08930439a5e4ed4f54af4681e41415909f05ca1a336' 
  AND token = '7joNBAJzb/Dm3SPFJpU84KS1Z1l+5OocGTgUj8iYJN8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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