SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51bc66e8f0d7c36a3cb60e56922374283f39370c351934dbb833dd19115fae5a' 
  AND token = 'iTpDIE8rzjS0fx6HKT+yj4Z0rWu/qq0KnUtpzAkjAZM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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