SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8400d3e8f1e48e87b945e9ae8e188e161096043c5818e2fbf4dfe1ca4677e012' 
  AND token = 'V4dYbW4ye/aTLRU0RYrMoi0dhh6aQB4uDuOPkmUFVj8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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