SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01ba5f8ef63a015026e2805152cc3339af85096e736081aded8d74f6851d18be' 
  AND token = '5wms4qkgit/ds6eCJzbxsyYoAArORdJ8beijPvCy/oU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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