SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af6d0ee4b7e6831e5d6684552dc12f6e0cbb4a5b331f63592da2fe5338de81ce' 
  AND token = '6tp7OPjpTEibzzM8zifkC4tk7pOxgWAbrbw/HeoZc98=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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