SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8e114f7e473eb54bfc1422362b9500222a4b1307c5522781e509183c6dbba45' 
  AND token = 'PgLLr/txp2WZMzfumSwj9OSA4Vp0e/n3yC5oW3QivMo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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