SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ecc72799c139248c72edbec423172fc863ad9807bc5d469d9eb7edc218ab0be' 
  AND token = 'ogQPhRv6ufJez/m12ngG7sB0zdEf72jWpdcYqWJErT0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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