SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '259c841264fe93d6bd74268d30b3c1c6ce221794a6261672f61466d4b7763097' 
  AND token = '7ZPyNv/t+OJKwRBb75dIGN9J8+qmxsQQOy4XbnG0y4w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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