SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4919ef4998beeb0d3a055fa3191a5ecb54e1fd198086531d53fb828a7c9f1e6' 
  AND token = 'YXTTWy4ac/Xc/yP3btM4HSlbQt8lm91xJUJ1c87h4yg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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