SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd66172843a51b83e700cae4c79de662b8893c1fb1970984004591a8cc820cbe3' 
  AND token = '3eyhONoNxKe+/go5MNYro0NkW2FYKB9JHcavtl0URNg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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