SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd41f09f3cdd173d791af29455242eb43328c996bb0d873f315ec2d725e7edce' 
  AND token = '1mXpZAq4wm4qmhXvu3IP7rclrTovk6muxEpC+EVMGzg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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