SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d9ec6d3b3b6bbede8915368777d5330a30974631da112f432bf1235041bf48d' 
  AND token = 'BcAxyDQ+KwS3FyRflbpfjLYUMDf213TQ37MtZFre49Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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