SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24816bcd4cac8bf8539732ad1185248fe508003765b0b66566bee6dfd4cab545' 
  AND token = 'l+Agy+uCyoJJrLWv3cO8Myz1AKWxk9JctSV6nyEtVbU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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