SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ba20d1bc9d61f16a76b2650050ae3578bb4dd315327c794daf29f110d2019cf' 
  AND token = 'b43enbUkbNbkmsgdxt5XsO8gz9wZYwSpc/Q1cG05S9k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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