SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a72e2d36e269ee8df204961721040caec9e4dd273aee6c2a3b6e04779a909e79' 
  AND token = 'yhKfgH25YxrtKtG366HE3B0lrMA/njHFGifvD5TD9/8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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