SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8c25c2d9b621cdcf29ebfdc4b96d7718d3629c9cbfc2ca3f593f117bae8ceb59' 
  AND token = 'JBdLGGTjaQyB+ZawSBNy6YXR9OAE2zFX2LuGIVq2O9M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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